body div {
  font-family: 'Helvetica Neue', Helvetica, Arial, 'Microsoft Yahei', 'Hiragino Sans GB', 'Heiti SC', 'WenQuanYi Micro Hei', sans-serif !important;
}

html,
body {
  position: relative;
  height: 100%;

}

body {
  background-color: #F1F3F5;
}

.sidebar{
  width: 80px;
  border-radius: 10px;
  bottom: 70px;
  padding-bottom: 16px;
  padding-top: 4px;
  position: fixed;
  right: 16px;
  z-index: 100;
  background-color: white;
  box-shadow: 0 0 6px #eee;
  .toTop{
    display: none;
  }
  div{
    display: flex;
    flex-direction: column;
    align-items:center;
    svg:nth-child(2){
      display: none;
    }
    &:hover{
      cursor: pointer;
      span{
        color: #cf0a2c;
      }
      svg:nth-child(2){
        display: block;
      }
      svg:nth-child(1){
        display: none;
      }
    }
    span{
      font-size: 12px;
      color: #999;
    }
    svg{
      width: 24px;
      height: 24px;
      margin-top: 20px;
      margin-bottom: 6px;
    }
  }
}
.banner{
  position: relative;
  .inputSearch{
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .2);
    position: absolute;
    z-index: 201;
    .searchBox{
      width: 100%;
      height: 74px;
      background-color: #fff;
      .searchBoxWidth{
        box-sizing: border-box;
        width: 640px;
        height: 100%;
        margin: 0 auto;
        text-align: center;
        .inp{
          transform: translateY(-50%);
          margin-top: 37px;
          width: 0;
          height: 36px;
          padding-left:20px;
          border-radius: 18px;
          border: 1px solid #ccc;
          outline: none;
          transition: all 0.6s;
          opacity: 0;
        }
        .inp2{
          width: 584px;
          opacity: 1;
        }
      }
    }
    .msg{
      width: 640px;
      height: 150px;
      background-color: #ffffff;
      margin: 0 auto;
      border-bottom-left-radius: 20px;
      border-bottom-right-radius: 20px;
      padding: 20px;
      display: none;
      h3{
        margin-bottom: 20px;
      }
      span{
        padding: 4px 8px;
        background-color: #f3f3f3;
        border-radius: 10px;
        margin-right: 5px;
        font-size: 12px;
        margin-top: 8px;
        &:hover{
          cursor: pointer;
          color:#d7565b;
        }
      }
    }
    .msg2{
      display: block;
    }
  }
  .isShow{
    display: block ;
    position: fixed;
  }
}

/* 导航条样式开始 */
.topnav {
  width: 100%;
  height: 36px;
  background-color: #000;
}
.bannernav li:hover {
  cursor: pointer;
}
.toFix{
  position: fixed;
  top: 0px;
  z-index: 200;
}
.bannernav {
  position: relative;
  display: flex;
  color: rgba(255, 255, 255, 0.6);
  justify-content: space-between;
  width: 1200px;
  height: 36px;
  margin: 0 auto;
  line-height: 36px;
  font-size: 12px;
}

.topnav-left>li::before,
.topnav-right>li::before {
  position: absolute;
  top: 13px;
  display: block;
  content: '';
  width: 1px;
  height: 10px;
  background: #414141;
}

.bannernav li:nth-child(1)::before {
  position: absolute;
  top: 13px;
  display: none;
  content: '';
  width: 1px;
  height: 10px;
  background: #414141;
}

.topnav-left li:nth-child(1) a {
  padding-left: 0px;
}

.topnav-left li:nth-child(7) {
  padding: 0 8px;
}

.topnav-left li:nth-child(7):hover::before,
.topnav-right li:nth-child(3):hover::before,
.topnav-right li:nth-child(4):hover::before,
.topnav-right li:nth-child(5):hover::before {
  position: absolute;
  top: 13px;
  display: none;
  content: '';
  width: 1px;
  height: 10px;
  background: #fff;
}

.topnav-right li:nth-child(3),
.topnav-right li:nth-child(4),
.topnav-right li:nth-child(6) {
  position: relative;
}

.topnav-left li:nth-child(7):hover,
.topnav-right li:nth-child(3):hover,
.topnav-right li:nth-child(4):hover,
.topnav-right li:nth-child(5):hover {
  color: #d7565b;
  background: #fff;
}


.topnav-left li:nth-child(7):hover .show,
.topnav-right li:nth-child(3):hover .show,
.topnav-right li:nth-child(5):hover .show {
  display: block;
}

.topnav-right li:nth-child(4):hover .show {
  display: flex;
}

.topnav-left li:nth-child(7):hover .icon-shangla,
.topnav-right li:nth-child(3):hover .icon-shangla,
.topnav-right li:nth-child(4):hover .icon-shangla,
.topnav-right li:nth-child(5):hover .icon-shangla {
  display: inline-block;
}

.topnav-left li:nth-child(7):hover .icon-xiala,
.topnav-right li:nth-child(3):hover .icon-xiala,
.topnav-right li:nth-child(4):hover .icon-xiala,
.topnav-right li:nth-child(5):hover .icon-xiala {
  display: none;
}

.icon-shangla {
  display: none;
}

.topnav-left li:nth-child(7) {
  position: relative;
}

.comment {
  line-height: 35px;
  padding: 0 8px;
}

.topnav-left,
.topnav-right {
  position: relative;
  display: flex;
}

.topnav-left a,
.topnav-right a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 0 8px;
}

.topnav-left>li>a:hover,
.topnav-right>li>a:hover {
  color: #fff;
}

.show {
  line-height: 30px;
  display: none;
  top: 36px;
  right: 0;
  position: absolute;
  box-shadow: 0 0 10px rgba(0, 0, 0, .05);
  text-align: center;
  z-index: 99;
}

.show a {
  color: #999;
}

.more-wonderful li {
  padding-top: 8px;
  width: 120px;
  background-color: #fff;
}


.show a:hover {
  color: #d7565b;
}

/* 客服 */
.kefu {
  position: relative;
  text-align: center;
}

.kefu-drop {
  background-color: #fff;
  position: absolute;
  top: 36px;
  right: 0;
  width: 100px;
  padding-top: 8px;
}

/* 网站导航下拉层 */
.navgation {
  line-height: normal;
  width: 893px;
  height: 210px;
  background-color: #FDFDFD;
  position: absolute;
  z-index: 100;
  top: 36px;
  right: 0;
  padding: 20px 0px 0px 65px;
}

.navgation div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

}

.navgation div h1 {
  font-weight: bolder;
  font-size: 16px;
  margin-bottom: 8px;
  color: #414141;
  text-align: left;
}

.navgation ul {
  display: flex;
  width: 185px;
  flex-wrap: wrap;
}

.navgation ul li {
  line-height: 20px;
  width: 80px;
  text-align: left;
}

.navgation ul li a {
  padding: 0;
}

.left-logo {
  margin-right: 60px;
}

.navgation .logo::before {
  display: block;
  content: "";
  width: 50px;
  height: 50px;
  padding-bottom: 55px;
  background: url('./img/icon-common.svg') -202px 0 no-repeat;
}

/* 手机版下拉二维码 */
.code-img {
  width: 244px;
  background-color: #fff;
}

.code-img li {
  display: flex;
  padding: 15px;
  padding-right: 0;
}

.code-img h1 {
  font-size: 16px;
  font-weight: bolder;
  color: #414141;
  text-align: left;
}

.code-img h2 {
  line-height: normal;
  text-align: left;
}

.code-img li img {
  margin-right: 10px;
  width: 90px;
  height: 90px;
}

.code-img h3 {
  display: flex;
}

.wechat_bd {
  border-bottom: 1px solid #E8E8E8;
  border-top: 1px solid #E8E8E8;
}

.wechat_bd h2 {
  color: #999;
}

.android,
.iphone,
.wechat {
  width: 32px;
  height: 32px;
}

.android {
  background: url(./img/icon-common.svg) 0 0 no-repeat;
}

.iphone {
  background: url(./img/icon-common.svg) -38px -113px no-repeat;
}

.wechat {
  background: url(./img/icon-common.svg) -32px 0 no-repeat;
}

.shopcar {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #424242;
  padding-right: 8px;

}

.shopcar-item {
  width: 16px;
  height: 16px;
  margin: 0 6px;
  background: url(./img/icon-common.svg) -102px -3px no-repeat;
}

/* 导航条样式结束 */

/* 第二个导航条开始 */

.category-container{
  width: 100%;
  height: 550px;
  position: absolute;
  z-index: 110;
  .list-container{
    width: 1200px;
    height: 550px;
    margin: 0 auto;
    position: relative;
    .all-category-list {
      box-shadow: 0 0 15px rgba(0, 0, 0, .1);
      opacity: 1;
      padding-top: 8px;
      width: 200px;
      height: 496px;
      background-color: rgba(255, 255, 255, 0.98);
      left: 0;
      top: 27px;
      position: absolute;
      li {
        display: flex;
        a{
          text-decoration: none;
        }
        .detail {
          display: none;
          flex-wrap: wrap;
          height: 496px;
          background-color: #fff;
          // background-color: red;
          position: absolute;
          top: 0;
          left: 200px;
          padding: 25px 20px 0 20px;

          ul {
            display: flex;
            height: 496px;
            flex-wrap: wrap;
            flex-basis: 100px;
            writing-mode: vertical-lr;
            background-color: #fff;
            position: absolute;
            top: 0;
            li {
              width: 214px;
              height: 94px;
              writing-mode: horizontal-tb;

              a {
                display: flex;
                align-items: center;
                justify-content: start;

                img {
                  width: 52px;
                  height: 52px;
                }
              }

              .seeall {
                .seeall-text {
                  border: 1px solid #F2F2F2;
                  width: 136px;
                  height: 44px;
                  border-radius: 22px;
                  text-align: right;
                  padding-right: 20px;
                  display: flex;
                  align-items: center;

                  .seeall-icon {
                    display: flex;
                    width: 44px;
                    height: 44px;
                    border-radius: 22px;
                    border: 1px solid #F2F2F2;
                    align-items: center;
                    justify-content: center;

                    .angle {
                      display: block;
                      width: 0;
                      height: 0;
                      border: 5px solid transparent;
                      border-left-color: #ccc;
                      margin-left: 4px;
                    }
                  }
                }
              }
            }
          }
        }

        &:hover .detail {
          display: flex;

          a:hover {
            color: #d7565b;
          }
        }

      }

      a {
        flex: 1;
        padding-left: 24px;
        line-height: 40px;
        color: #999;

        &:hover {
          color: #000;
          background-color: #fff;
        }

      }

    }
}
}
.category-container-toFix{
  position: fixed;
  margin-top: 27px;
}
.all-category-list>li>a::after {
  content: '';
  width: 7px;
  height: 7px;
  border: 1px solid #999;
  display: block;
  float: right;
  margin-top: 15px;
  margin-right: 18px;
  transform: rotate(45deg);
  border-left: none;
  border-bottom: none;
}

.banner {
  width: 100%;
  height: 74px;
  background-color: #fff;
    .banner-center {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    position: relative;
    // display: none;
    
    .banner-logo {
      width: 103px;
      height: 74px;
      overflow: hidden;
      img {
        width: 103px;
        height: 74px;
      }
    }

    .banner-list {
      width: 100%;
      margin-left: 8px;

      >ul {
        display: flex;

        li {
          a {
            padding-left: 40px;
            text-decoration: none;
            line-height: 74px;
            color: #000;

            &:hover {
              color: #d7565b;
            }
          }

        }

        .all-category {
          display: none;
        }
        .all-category-show{
          display: flex;
          justify-content: center;
          align-items: center;
          svg:nth-child(2){
            display: none;
          }
          &:hover{
            svg:nth-child(1){
              display: none;
            }svg:nth-child(2){
              display: inline-block;
            }
          }
        }
        .toshow{
          display: block;
          svg:nth-child(2){
            display: none;
          }
          &:hover{
            svg:nth-child(1){
              display: none;
            }
            svg:nth-child(2){
              display: block;
            }
          }
        }

        

      }
    }

    .banner-search {
      width: 42px;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;

      span {
        width: 26px;
        height: 26px;
        margin-left: 16px;
        background: url(./img/icon-common.svg)-136px 0 no-repeat;
      }
    }
  }

}

// 轮播图样式
.swiper {
  width: 100%;
  height: 550px;
}

.swiper-slide {
  cursor: pointer;
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 1536px;
  height: 550px;
  object-fit: cover;
}

.swiper-button {
  position: relative;
  width: 1200px;
  margin: 0 auto;

  .swiper-button-next,
  .swiper-button-prev {
    position: absolute;
    color: #fff;
  }

  .swiper-button-next {

    top: -275px;
    right: 0;
  }

  .swiper-button-prev {
    top: -275px;
    left: 267px;
  }
}



/* 第二个导航条结束 */

// 内容主体块开始
.contents {
  width: 1200px;
  margin: 0 auto;

  .content-nav {
    margin: 30px 0;

    display: flex;
    flex-wrap: wrap;
    li {
      width: 200px;
      height: 95px;

      a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #000;
        font-size: 16px;
       
        img {
          width: 48px;
          height: 48px;
          margin-bottom: 8px;
          transition: all 200ms;
        }
      }
      a:hover{
        font-weight: bold;
        img{
         transform: scale(1.15);
        }
      }
      
    }
  }

  .recommend{
    margin-bottom: 40px;
   .title{
    height: 64px;
    display: flex;
    align-items: center;
    .title-left{
      height: 32px;
      font-size: 24px;
      font-weight: 400;
      flex: 1;
    }
    .title-more{
      width: 45px;
      height: 19px;
      font-size: 14px;
      color: #797a7b;
      position: relative;
    }
    .title-more::after{
      position: absolute;
      top: 7px;
      right: 8px;
      content: '';
      width: 8px;
      height: 8px;
      display: block;
      border: 1px solid #797a7b;
      transform: rotate(45deg);
      border-left: transparent;
      border-bottom: transparent;
    }
   }
   .glist{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    .glist-item{
      width: 291px;
      height: 384px;
      margin-bottom: 10px;
      transition: all 200ms;
      overflow: hidden;
      background-color: #fff;
      &:hover{
        box-shadow:  0 0 15px #ccc;
      }
      a{
        text-decoration: none;
        .pic{
          height: 254px;
          display: flex;
          justify-content: center;
          align-items: center;
          img{
            width: 180px;height: 192px;
          }
        }
        .info{
          text-align: center;
          padding: 12px;
          .info-title{
            height: 19px;
            line-height: 19px;
            .new-pro{
              color: #fff;
              background-color: red;
              border-radius: 15%;
              font-size: 12px;
              padding-left: 4px;
              padding-right: 4px;
              
            }
            span{
              font-size: 14px;
              font-weight: 400;
              color: #000;
            }
          }
          .info-desc{
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            font-size: 14px;
            color: #808080;
            margin: 7px 0;
            height: 20px;
          }
          .info-lab{
            height: 14px;
            .label{
              font-size: 12px;
              color: red;
              border: 1px solid red;
              border-radius: 5px;
              padding:0 4px;
              margin-right: 2px;
            }
            .normal{
              font-size: 12px;
              color: #000;
              border: 1px solid black;
              border-radius: 5px;
              padding:0 4px;
              margin-right: 2px;
            }
          }
          .info-price{
            display: flex;
            justify-content: center;
            align-items:end;
            height: 33px;
            span{
              color: #000;
            }
            del{
              font-size: 12px;
              color: #999;
              margin-left: 4px;
            }
          }
        }
      }
    }
   }
  }

}

.foot-top{
  width: 100%;
  height: 102px;
  background-color: #fff;
  ul{
    margin: 0 auto;
    width: 1200px;
    height: 100%;
    display: flex;
    justify-content: space-around;
    border-bottom:1px solid #f2f2f2;
    li{
      display: flex;
      justify-content: center;
      align-items: center;
      img{
        width: 24px;
        height: 24px;
        margin-right: 18px;
      }
    }
  }
}
.foot-bottom{
  height: 283px;
  padding: 56px 0 40px;
  background-color: #fff;
  .links{
    margin: 0 auto;
    width: 1200px;
    height: 186px;
    display: flex;
    .link{
      display: flex;
      justify-content: space-between;
      flex: 1;
      padding-right: 50px;
      ul{
        li{
          height: 17px;
          line-height: 17px;
          font-size: 12px;
          margin-bottom: 10px;
          
          &:hover{
            cursor: pointer;
            color: red;
          }
          &:first-child{
            font-size: 16px;
            margin-bottom: 20px;
            cursor:default ;
            color: #000;
          }
        }
        
      }
    }
    .hotLine{
      width: 248px;
      border-left: 1px solid #F1F3F5;
      text-align: center;
      h1{
        font-size: 24px;
      }
      h3{
        font-size: 13px;
        margin: 2px 0  0;
      }
      .online{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 170px;
        height: 34px;
        border-radius: 17px;
        color: white;
        background-color: black;
        margin: 14px auto 0;
      }
      .focus{
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 14px auto 0;
        span{
          font-size: 13px;
        }
        ul{
          display: flex;
          li{
            width: 24px;
            height: 24px;
            margin-right: 8px;
            background-image: url(./img/icon-footer-about.svg);
            &:nth-child(1){
              background-position: 154px 0;
            }
            &:nth-child(2){
              background-position: 130px 0;
            }
            &:nth-child(3){
              background-position: 106px 0;
            }
            &:nth-child(4){
              background-position:  0 -36px;
            }
          }
        }
      }
    }
  }
}